package com.tuyue.police.biz;

import com.tuyue.police.pojo.User;

/**
 * @Author: 王金海
 * @Description:
 * @Date: Created by Administrator on 2018/3/13.
 * @Modified By:
 */
public interface IUserBiz {
    /**
     * 登陆
     * @param userName
     * @param userPassword
     * @return
     */
    User login(String userName, String userPassword);

    User regist(User user);

    User findById(Long userId);
    User findByPhome(String phome);
    User findByopenId(String openId);

    User bangding(String openId,String phone,String password);
}
